package com.woniu.system.service;

import com.woniu.components.DAO.DAOHelper;
import com.woniu.components.DAO.IEntity;
import com.woniu.system.pojo.SysCompany;

import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: xujin
 * Date: 2010-2-15
 * Time: 14:42:46
 * To change this template use File | Settings | File Templates.
 */
public interface ICompanyManager {
    public void find();

    public IEntity getCompany(Long id) throws Exception;

    public List findAll();

    public SysCompany save(Map map) throws InvocationTargetException, IllegalAccessException, Exception;

    public void update(Map map);

    public void delete(Long id) throws Exception ;
    public DAOHelper getDAOHelper();
}
